package com.sinbader.xiaole.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sinbader.xiaole.common.model.xiaolevo.BaseProductStockSearch;
import com.sinbader.xiaole.common.model.params.BaseProductStockSearchParam;
import com.sinbader.xiaole.common.model.result.BaseProductStockSearchResult;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 商品（信息）二维码表 Mapper 接口
 * </p>
 *
 * @author jinjing
 * @since 2020-04-14
 */
public interface BaseProductStockSearchMapper extends BaseMapper<BaseProductStockSearch> {

    /**
     * 查询当前用户移出仓库下的 商品库存数据
     * @param page 分页数据
     * @param paramCondition 查询参数
     * @return
     */
    Page<BaseProductStockSearchResult> selectProductStockInfos(@Param("page") Page page, @Param("paramCondition") BaseProductStockSearchParam paramCondition);

}
